package globalVisionEntertainment.nba;

import java.util.Date;

public class PlayerQuarterStatistic
{
	private final String playerName;
	private Date onCourtTime;
	private int plus;
	private int minus;

	public PlayerQuarterStatistic(String playerName, Date onCourtTime, int plus, int minus)
	{
		assert plus >= 0;
		assert minus >= 0;
		assert onCourtTime.getTime() >= 0;

		this.playerName = playerName;
		this.onCourtTime = onCourtTime;
		this.plus = plus;
		this.minus = minus;
	}

	public Date getOnCourtTime()
	{
		return onCourtTime;
	}

	public int getPlus()
	{
		return plus;
	}

	public int getMinus()
	{
		return minus;
	}

	public String getPlayerName()
	{
		return playerName;
	}

}
